<?php
// 1.接收数据 
// 2.转存文件
// print_r($_POST);
// print_r($_FILES);

$temUrl = $_FILES['myimg']['tmp_name'];
$imgname =  $_FILES['myimg']['name'];
move_uploaded_file($temUrl,"./uploads/".$imgname);



?>